<?php
class Menu_Model extends Model {
    private $menu = null;
    function getAll( $fields = '*' ) {
        return $this -> db -> query( 'SELECT ' . $fields . ' FROM ' . $this -> dbprefix . 'menu ORDER BY `order` ASC' ) -> fetchAll( PDO::FETCH_ASSOC );
    }
}